package com.njupt.user.service;

import com.njupt.user.dao.TestFileMapper;
import com.njupt.user.model.TestFile;
import com.njupt.user.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by ASUS on 2019/4/29.
 */
@Service("TestFlieService")
public class TestFileServiceimpl implements TestFlieService {

    @Autowired
    private TestFileMapper testFileMapper;
    public List<TestFile> selectTestFile(Map<String,String> map){
        return testFileMapper.selectTestFile( map);
    }
    public void register(TestFile testFile){
         testFileMapper.addTestFile(testFile);
    }
}
